package com.wsd.bean;

import java.sql.Timestamp;
import java.util.Set;
import java.util.TreeSet;

/**
 * ProductOrder entity. @author MyEclipse Persistence Tools
 */

public class ProductComment implements java.io.Serializable {

	// Fields

	private Integer PCId;
	private Admin admin;
	private Users users;
	private Timestamp PCTime;
	private Boolean PCState;
	private Products products;
	private String PCContent;
	private Set replays;
	private ProductComment comment;
	/** default constructor */
	public ProductComment() {
	}

	/** minimal constructor */
	public ProductComment(Timestamp OTime, Boolean PCState) {
		this.PCState = PCState;
	}

	/** full constructor */
	public ProductComment(Admin admin, Users users, Timestamp PCTime, Products products,
			String PCContent, Boolean PCState) {
		this.admin = admin;
		this.users = users;
		this.PCTime = PCTime;
		this.products = products;
		this.PCContent = PCContent;
		this.PCState = PCState;
	}

	// Property accessors

	public Integer getPCId() {
		return this.PCId;
	}

	public void setPCId(Integer PCId) {
		this.PCId = PCId;
	}

	public Admin getAdmin() {
		return this.admin;
	}

	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public Timestamp getPCTime() {
		return this.PCTime;
	}

	public void setPCTime(Timestamp PCTime) {
		this.PCTime = PCTime;
	}

	public Boolean getPCState() {
		return this.PCState;
	}

	public void setPCState(Boolean PCState) {
		this.PCState = PCState;
	}

	/**
	 * @param product the product to set
	 */
	public void setProducts(Products products) {
		this.products = products;
	}

	/**
	 * @return the product
	 */
	public Products getProducts() {
		return products;
	}

	/**
	 * @param pCContent the pCContent to set
	 */
	public void setPCContent(String pCContent) {
		PCContent = pCContent;
	}

	/**
	 * @return the pCContent
	 */
	public String getPCContent() {
		return PCContent;
	}

	public Set getReplays() {
		return replays;
	}

	public void setReplays(Set replays) {
		this.replays = replays;
	}

	public ProductComment getComment() {
		return comment;
	}

	public void setComment(ProductComment comment) {
		this.comment = comment;
	}
	
}